ComponentOne ASP.NET MVC Controls
BindODataSource Method (ItemsBoundControlBuilder<T,TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > ItemsBoundControlBuilder<T,TControl,TBuilder> Class : BindODataSource Method
An action to build an C1.Web.Mvc.ODataCollectionViewService<T>.
Configurates C1.Web.Mvc.ItemsBoundControl<T>.ItemsSource. Sets ItemsSource settings.
Syntax
'Declaration
 
Public Overridable Function BindODataSource( _
   ByVal build As Action(Of ODataCollectionViewServiceBuilder(Of T)) _
) As TBuilder
public virtual TBuilder BindODataSource( 
   Action<ODataCollectionViewServiceBuilder<T>> build
)

Parameters

build
An action to build an C1.Web.Mvc.ODataCollectionViewService<T>.

Return Value

Current builder.
See Also

Reference

ItemsBoundControlBuilder<T,TControl,TBuilder> Class
ItemsBoundControlBuilder<T,TControl,TBuilder> Members